library: TQLP_32.dll

class: "TQLP"
implements: ivi, ividcpwr, iviResourceMgr
attribute: "Range Check"
	"Inherent IVI Attributes:User Options:Range Check"
	bool readwrite local 00100592
"Specifies whether to validate property values and function parameters.  If enabled, the instrument driver validates the parameter values that you pass to driver functions.  Range checking parameters is very useful for debugging.  After you validate your program, you can set this property to FALSE to disable range checking and maximize performance.
    The default value is TRUE.   Use the TQLP_InitWithOptions function to override this value.
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Query Instrument Status"
	"Inherent IVI Attributes:User Options:Query Instrument Status"
	bool readwrite local 00100593
"Specifies whether the instrument driver queries the instrument status after each operation.  Querying the instrument status is very useful for debugging.  After you validate your program, you can set this property to FALSE to disable status checking and maximize performance
    The instrument driver can choose to ignore status checking for particular properties regardless of the setting of this property.
    The default value is TRUE.   Use the TQLP_InitWithOptions function to override this value.
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Cache"
	"Inherent IVI Attributes:User Options:Cache"
	bool readwrite local 00100594
"Specifies whether to cache the value of properties.  When caching is enabled, the instrument driver keeps track of the current instrument settings and avoids sending redundant commands to the instrument.  Thus, you can significantly increase execution speed.
    The instrument driver can choose always to cache or never to cache particular properties regardless of the setting of this property.
    The default value is TRUE.   Use the TQLP_InitWithOptions function to override this value.
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Simulate"
	"Inherent IVI Attributes:User Options:Simulate"
	bool readwrite local 00100595
"Specifies whether or not to simulate instrument driver I/O operations.  If simulation is enabled, instrument driver functions perform range checking and call Ivi_GetAttribute and Ivi_SetAttribute functions, but they do not perform instrument I/O.  For output parameters that represent instrument data, the instrument driver functions return calculated values.
    The default value is FALSE.   Use the TQLP_InitWithOptions function to override this value.
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Record Value Coercions"
	"Inherent IVI Attributes:User Options:Record Value Coercions"
	bool readwrite local 00100596
"Specifies whether the IVI engine keeps a list of the value coercions it makes for ViInt32 and ViReal64 properties.  You call TQLP_GetNextCoercionRecord to extract and delete the oldest coercion record from the list.
    The default value is FALSE.   Use the TQLP_InitWithOptions function to override this value.
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Description"
	"Inherent IVI Attributes:Driver Identification:Description"
	string readonly local 00100792
"A string that contains a brief description of the specific driver
    "
attribute: "Driver Prefix"
	"Inherent IVI Attributes:Driver Identification:Driver Prefix"
	string readonly local 001006BE
"A string that contains the prefix for the instrument driver.  The name of each user-callable function in this driver starts with this prefix.
    "
attribute: "Driver Vendor"
	"Inherent IVI Attributes:Driver Identification:Driver Vendor"
	string readonly local 00100791
"A string that contains the name of the vendor that supplies this driver.
    "
attribute: "Major Version"
	"Inherent IVI Attributes:Driver Identification:Major Version"
	iL readonly local 00100787
"The major version number of this instrument driver.
    "
attribute: "Minor Version"
	"Inherent IVI Attributes:Driver Identification:Minor Version"
	iL readonly local 00100788
"The minor version number of this instrument driver.
    "
attribute: "Revision"
	"Inherent IVI Attributes:Driver Identification:Revision"
	string readonly local 001007B7
"A string that contains additional version information about this instrument driver.
    "
attribute: "Class Specification Major Version"
	"Inherent IVI Attributes:Driver Identification:Class Specification Major Version"
	iL readonly local 00100793
"The major version number of the class specification with which this driver is compliant.
    "
attribute: "Class Specification Minor Version"
	"Inherent IVI Attributes:Driver Identification:Class Specification Minor Version"
	iL readonly local 00100794
"The minor version number of the class specification with which this driver is compliant.
    "
attribute: "Supported Instrument Models"
	"Inherent IVI Attributes:Driver Capabilities:Supported Instrument Models"
	string readonly local 001006D7
"Contains a model code of the instrument. For drivers that support more than one device, this property contains a comma-separated list of supported instrument models.
    "
attribute: "Class Group Capabilities"
	"Inherent IVI Attributes:Driver Capabilities:Class Group Capabilities"
	string readonly local 00100721
"A string that contains a comma-separated list of class-extention groups that this driver implements.
    "
attribute: "Number of Channels"
	"Inherent IVI Attributes:Driver Capabilities:Number of Channels"
	iL readonly local 0010065B
"Indicates the number of channels that the specific instrument driver supports.  
    For each property for which the IVI_VAL_MULTI_CHANNEL flag property is set, the IVI engine maintains a separate cache value for each channel.
    "
attribute: "Manufacturer"
	"Inherent IVI Attributes:Instrument Identification:Manufacturer"
	string readonly local 0010078F
"A string that contains the name of the instrument manufacturer you are currently using.
    "
attribute: "Model"
	"Inherent IVI Attributes:Instrument Identification:Model"
	string readonly local 00100790
"A string that contains the model number or name of the instrument that you are currently using.
    "
attribute: "Firmware Revision"
	"Inherent IVI Attributes:Instrument Identification:Firmware Revision"
	string readonly local 0010078E
"A string that contains the firmware revision information for the instrument you are currently using.
    "
attribute: "Primary Error"
	"Inherent IVI Attributes:Error Info:Primary Error"
	iL readwrite local 001005F5
"A code that describes the first error that occurred since the last call to TQLP_GetErrorInfo on the session.  The value follows the VXIplug&play completion code conventions.  A negative value describes an error condition.  A positive value describes a warning condition and indicates that no error occurred.  A zero indicates that no error or warning occurred. The error and warning values can be status codes defined by IVI, VISA, class drivers, or specific drivers.
    "
attribute: "Secondary Error"
	"Inherent IVI Attributes:Error Info:Secondary Error"
	iL readwrite local 001005F6
"An optional code that provides additional information concerning the primary error condition.  The error and warning values can be status codes defined by IVI, VISA, class drivers, or specific drivers.  Zero indicates no additional information.
    "
attribute: "Error Elaboration"
	"Inherent IVI Attributes:Error Info:Error Elaboration"
	string readwrite local 001005F7
"An optional string that contains additional information concerning the primary error condition.
    "
attribute: "Logical Name"
	"Inherent IVI Attributes:Advanced Session Information:Logical Name"
	string readonly local 001006C1
"A string containing the logical name you specified when opening the current IVI session.
     You may pass a logical name to the TQLP_init or TQLP_InitWithOptions functions.  The IVI Configuration utility must contain an entry for the logical name.  The logical name entry refers to a virtual instrument section in the IVI Configuration file.  The virtual instrument section specifies a physical device and initial user options.
    "
attribute: "Resource Descriptor"
	"Inherent IVI Attributes:Advanced Session Information:Resource Descriptor"
	string readonly local 001006C0
"Indicates the resource descriptor the driver uses to identify the physical device.
    If you initialize the driver with a logical name, this property contains the resource descriptor that corresponds to the entry in the IVI Configuration utility.  
    If you initialize the instrument driver with the resource descriptor, this property contains that value.
    "
attribute: "I/O Session Type"
	"Inherent IVI Attributes:Advanced Session Information:I/O Session Type"
	string readonly local 001006D4
"Contains the type of the I/O session that this driver uses to communicate with the instrument.     "
attribute: "Verify voltage"
	"Basic Operation:Verify voltage"
	bool readwrite local 00118C42
"When set to TRUE the Operation Complete message is generated when the parameter being adjusted reaches the required value to within +/-5% or +/-10 counts, whichever is the greater. If the value fails to settle to within these limits within 5 seconds then the Verify Timeout bit (bit 3) is set in the Standard Event Status register and the Operation Complete message will not be generated
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Address"
	"Basic Operation:Address"
	iL readonly local 00118C41
"Returns the bus address of the instrument"
attribute: "Output sense mode to remote"
	"Basic Operation:Output sense mode to remote"
	bool writeonly local 00118C37
"When set to TRUE the output sense mode is switched to remote connectors
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Current step size"
	"Basic Operation:Current step size"
	fD readwrite local 00118C36
"set the output current step size to the value specified in Amps"
attribute: "Voltage step size"
	"Basic Operation:Voltage step size"
	fD readwrite local 00118C35
"set the output voltage step size to the value supplied in Volts"
attribute: "Output Enabled All"
	"Basic Operation:Output Enabled All"
	bool readwrite local 00118C43
"This property specifies whether the signal the power supply produces appears at the ALL the output connectors. Note that this includes the AUX output.
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Output Enabled Aux"
	"Basic Operation:Output Enabled Aux"
	bool readwrite local 00118C44
"This specifies whether the AUX signal the power supply produces appears at the AUX output connector. 
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Output Enabled"
	"Basic Operation:Output Enabled"
	bool readwrite local 001312D6
"This channel-based property specifies whether the signal the power supply produces appears at the output connector. 
    
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "Link Mode"
	"Basic Operation:Link Mode"
	bool readwrite local 00118C34
"This channel-based property specifies whether the two outputs are linked.  If this property is set to TRUE, the outputs are linked. Note that some functions are not valid in this mode, refer to the user guide for more information
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "OVP Enabled"
	"Basic Operation:OVP Enabled"
	bool readwrite local 001312D2
"The are no PSUs in the family that currently support this yet so always set this to TRUE.
VI_TRUE 1
True

VI_FALSE 0
False"
attribute: "OCP Limit"
	"Basic Operation:OCP Limit"
	fD readwrite local 00118C33
"Over-Current Protection (OCP) can be set from 0·01A to 5·5A.  If the output current exceeds the set OCP the output is shut down (typically within 35ms). The factory default setting is 5·50A.
If the OCP is tripped the display shows the message   OCP triP   and the output is turned off. Pressing ESCAPE at this point removes the message and the display now shows the preset voltage and current limit. When the cause of the OCP has been removed (or the OCP limit changed) the output can be turned on again.
Note that as with OVP, the OCP setting is not changed when the range is changed.  
Note also that is possible and valid to set OCP below the set current limit.  For example, the power supply may be used to repetitively test a unit under test (UUT) which normally takes a peak current of, say, 2 Amps.  However, a faulty UUT would take a current of more than 2 Amps and would be damaged by being left in a 2 Amp current-limited state.  In this case the current limit could be set to 2·1A, say, and the OCP set to 2·0A to ensure that a faulty UUT will trip the supply off.
    "
attribute: "OVP Limit"
	"Basic Operation:OVP Limit"
	fD readwrite local 001312D3
"Over-Voltage Protection (OVP) can be set from 1·0V to 40V.  If the output voltage exceeds the set OVP the output is immediately shut down (typically within 100µs), thus avoiding damage to the circuit under test.  The OVP circuit will protect against accidental excessive voltage settings from the front panel or via the remote control interfaces, external voltages impressed across the output terminals, or a failure in the control circuitry of the instrument itself. The factory default setting is 40·0V.
If the OVP is tripped the display shows the message   OUP triP  and the output is turned off.  Pressing ESCAPE at this point removes the message and the display now shows the preset voltage and current limit.  When the cause of the OVP has been removed (or the OVP limit changed) the output can be turned on again.
Note that the OVP setting is not changed when the range is changed (e.g. an OVP setting of 38V remains valid on the 15V range); it is left to the user to independently change the OVP setting if required.
Note also that it is possible and valid to set OVP below the set voltage.  If the supply is in constant current mode the output voltage will be below the set voltage; OVP could be set such that is was above the actual output voltage but below the set voltage.  This could be used to trip the output under a fault condition which caused the load impedance to increase and the actual output voltage to therefore rise above the OVP point.
"
attribute: "Current Limit Behavior"
	"Basic Operation:Current Limit Behavior"
	iL enum { TQLP_VAL_CURRENT_TRIP=1} readwrite local 001312D4
"This channel-based property specifies the behavior of the power supply when the output current is equal to or greater than the value of the TQLP_ATTR_CURRENT_LIMIT property.
    
TQLP_VAL_CURRENT_TRIP 1
When the output current reaches or exceeds the value of the TQLP_ATTR_CURRENT_LIMIT attribute, the power supply disables the output."
attribute: "Current Limit"
	"Basic Operation:Current Limit"
	fD readwrite local 001312D5
"This channel-based property specifies the output current limit. The units are Amps.
    "
attribute: "Range setting"
	"Basic Operation:Range setting"
	iL enum { 0=0, 1=1, 2=2} readwrite local 00118C32
"Specifies the range the instrument operates on. 

Valid values are:
    0 - 0 to 15V at a maximum of 5 Amps
    1 - 0 to 35V at a maximum of 3 Amps
    2 - 0 to 35V at a maximum of 0.5 Amps

0 0
0 to 15V at a maximum of 5 Amps

1 1
0 to 35V at a maximum of 3 Amps

2 2
0 to 35V at a maximum of 0.5 Amps"
attribute: "Voltage Level"
	"Basic Operation:Voltage Level"
	fD readwrite local 001312D1
"This channel-based property specifies the voltage level the DC power supply attempts to generate.  The units are Volts.

Valid range is 0 to 35V. Note that the TQLP_ATTR_RANGE_SETTING property determins what can actually be set on the instrument.
    "
attribute: "Limit status register two"
	"Status Registers:Limit status register two"
	iL readonly local 00118C45
"Two pairs of registers are implemented as an addition to the IEEE Std.488.2. Each pair consists of a Limit Event Status Register  and an accompanying Limit Status Event Enable Register. Limit Event Status Register 1 (LSR1) and Limit Event Status Enable Register 1 (LSE1) apply to output 1. Limit Event Status Register 2 (LSR2) and Limit Event Status Enable Register 2 (LSE2) apply to output 2 and the Auxiliary output. Their purpose is to inform the controller of entry to and/or exit from current or voltage limit conditions by storing a history of protection trip conditions since the last read.
Any bits set in  a Limit Event Status Register which correspond to bits set in the accompanying  Limit Event Status Enable Register will cause the LIM1 or LIM2 bit to be set in the Status Byte Register.

Limit Event Status Register 2
Bit 7 - not used
Bit 6 -     Set when  the Auxiliary output enters current limit
Bit 5 -     Set when an output 2 sense trip has occurred
Bit 4 -     Set when an output 2 thermal trip has occurred
Bit 3 -     Set when an output 2 over current trip has occurred
Bit 2 -     Set when an output 2 over voltage trip has occurred
Bit 1 -     Set when output 2 enters current limit (constant current mode)
Bit 0 -     Set when output 2 enters voltage limit (constant voltage mode)
"
attribute: "Limit status register one"
	"Status Registers:Limit status register one"
	iL readonly local 00118C38
"Two pairs of registers are implemented as an addition to the IEEE Std.488.2. Each pair consists of a Limit Event Status Register  and an accompanying Limit Status Event Enable Register. Limit Event Status Register 1 (LSR1) and Limit Event Status Enable Register 1 (LSE1) apply to output 1. Limit Event Status Register 2 (LSR2) and Limit Event Status Enable Register 2 (LSE2) apply to output 2 and the Auxiliary output. Their purpose is to inform the controller of entry to and/or exit from current or voltage limit conditions by storing a history of protection trip conditions since the last read.
Any bits set in  a Limit Event Status Register which correspond to bits set in the accompanying  Limit Event Status Enable Register will cause the LIM1 or LIM2 bit to be set in the Status Byte Register.
Limit Event Status Register 1
Bit 7 -     not used
Bit 6 -     not used
Bit 5 -     Set when an output 1 sense trip has occurred
Bit 4 -     Set when an output 1 thermal trip has occurred
Bit 3 -     Set when an output 1 over current trip has occurred
Bit 2 -     Set when an output 1 over voltage trip has occurred
Bit 1 -     Set when output 1 enters current limit (constant current mode)
Bit 0 -     Set when output 1 enters voltage limit (constant voltage mode)
"
attribute: "Standard event status register"
	"Status Registers:Standard event status register"
	iL readonly local 00118C3B
"Standard Event Status and Standard Event Status Enable Registers are implemented as required by the IEEE Std. 488.2.
Any bits set in the Standard Event Status Register which correspond to bits set in the Standard Event Status Enable Register will cause the ESB bit to be set in the Status Byte Register.

Bit 7 -     Power On. Set when power is first applied to the instrument.
Bit 6 -     Not used.
Bit 5 -     Command Error. Set when a syntax type error is detected in a command from the bus. The parser is reset and parsing continues at the next byte in the input stream.
Bit 4 -     Execution Error. Set when an error is encountered while attempting to execute a completely parsed command. The appropriate error number will be reported in the Execution Error Register.
    1- 99   Indicates a hardware error has been encountered.
    116 A recall of set up data has been requested but the store specified does not contain any data.
    117 A recall of set up data has been requested but the store specified contains corrupted data.  This indicates either a hardware fault or a temporary data corruption which can be corrected by writing data to the store again.
    120 The numerical value sent with the command was too big or too small.  Includes negative numbers where only positive numbers are accepted.
    123 A recall/store of set up data has been requested from/to an illegal store number.
    124 A range change has been requested but the current psu settings make it illegal - see manual operation instructions for details.
Bit 3 - Verify Timeout Error.  Set when a parameter is set with 'verify' specified and the value is not reached within 5 secs, e.g. output voltage is slowed by a large capacitor on the output.
Bit 2 -     Query Error. Set when a query error occurs. The appropriate error number will be reported in the Query Error Register as listed below.
    1.   Interrupted error
    2.   Deadlock error
    3.   Unterminated error
Bit 1 -     Not used.
Bit 0 -     Operation Complete. Set in response to the *OPC command.
"
attribute: "Ist local message"
	"Status Registers:Ist local message"
	iL readonly local 00118C3C
"Returns ist local message as defined by IEEE Std. 488.2. "
attribute: "Status byte register"
	"Status Registers:Status byte register"
	iL readonly local 00118C40
"Any bits set in the Status Byte Register which correspond to bits set in the Service Request Enable Register will cause the RQS/MSS bit to be set in the Status Byte Register, thus generating a Service Request on the bus.

Bit 7 -     Not used.
Bit 6 -     RQS/MSS. This bit, as defined by IEEE Std. 488.2, contains both the Requesting Service message and the Master Status Summary message. RQS is returned in response to a Serial Poll and MSS is returned in response to the *STB? command.
Bit 5 -     ESB. The Event Status Bit. This bit is set if any bits set in the Standard Event Status Register correspond to bits set in the Standard Event Status Enable Register.
Bit 4 -     MAV. The Message Available Bit. This will be set when the instrument has a response message formatted and ready to send to the controller. The bit will be cleared after the Response Message Terminator has been sent.
Bit 3 -     Not used.
Bit 2 -     Not used.
Bit 1 -     LIM2.  This will be set if any bits in Limit Event Status Register 2 are set and corresponding bits are set in Limit Event Status Enable Register 2.
Bit 0 -     LIM1.  This will be set if any bits in Limit Event Status Register 1 are set and corresponding bits are set in Limit Event Status Enable Register 1.
"
attribute: "Limit status enable register two"
	"Status Registers:Limit status enable register two"
	iL readwrite local 00118C46
"Two pairs of registers are implemented as an addition to the IEEE Std.488.2. Each pair consists of a Limit Event Status Register  and an accompanying Limit Status Event Enable Register. Limit Event Status Register 1 (LSR1) and Limit Event Status Enable Register 1 (LSE1) apply to output 1. Limit Event Status Register 2 (LSR2) and Limit Event Status Enable Register 2 (LSE2) apply to output 2 and the Auxiliary output. Their purpose is to inform the controller of entry to and/or exit from current or voltage limit conditions by storing a history of protection trip conditions since the last read.
Any bits set in  a Limit Event Status Register which correspond to bits set in the accompanying  Limit Event Status Enable Register will cause the LIM1 or LIM2 bit to be set in the Status Byte Register.
"
attribute: "Limit status enable register one"
	"Status Registers:Limit status enable register one"
	iL readwrite local 00118C39
"Two pairs of registers are implemented as an addition to the IEEE Std.488.2. Each pair consists of a Limit Event Status Register  and an accompanying Limit Status Event Enable Register. Limit Event Status Register 1 (LSR1) and Limit Event Status Enable Register 1 (LSE1) apply to output 1. Limit Event Status Register 2 (LSR2) and Limit Event Status Enable Register 2 (LSE2) apply to output 2 and the Auxiliary output. Their purpose is to inform the controller of entry to and/or exit from current or voltage limit conditions by storing a history of protection trip conditions since the last read.
Any bits set in  a Limit Event Status Register which correspond to bits set in the accompanying  Limit Event Status Enable Register will cause the LIM1 or LIM2 bit to be set in the Status Byte Register.
"
attribute: "Standard event enable register"
	"Status Registers:Standard event enable register"
	iL readwrite local 00118C3A
"Standard Event Status and Standard Event Status Enable Registers are implemented as required by the IEEE Std. 488.2.
Any bits set in the Standard Event Status Register which correspond to bits set in the Standard Event Status Enable Register will cause the ESB bit to be set in the Status Byte Register.
"
attribute: "Operation complete status"
	"Status Registers:Operation complete status"
	iL readwrite local 00118C3D
"Sets and reads the Operation Complete bit (bit 0) in the Standard Event Status Register. "
attribute: "Parallel pole enable register"
	"Status Registers:Parallel pole enable register"
	iL readwrite local 00118C3E
"Complete parallel poll capabilities are offered on this instrument. The Parallel Poll Enable Register is set to specify which bits in the Status Byte Register are to be used to form the ist local message. The value in the Parallel Poll Enable Register is ANDed with the Status Byte Register; if the result is zero then the value of ist is 0 otherwise the value of ist is 1.
The instrument must also be configured so that the value of ist can be returned to the controller during a parallel poll operation. The instrument is configured by the controller sending a Parallel Poll Configure command (PPC) followed by a Parallel Poll Enable command (PPE). The bits in the PPE command are shown below:

bit 7 = X      don't care
bit 6 = 1   
bit 5 = 1      Parallel poll enable
bit 4 = 0   
bit 3 = Sense  sense of the response bit; 0 = low, 1 = high
bit 2 = ?   
bit 1 = ?      bit position of the response
bit 0 = ?   
"
attribute: "Service request enable register"
	"Status Registers:Service request enable register"
	iL readwrite local 00118C3F
"Any bits set in the Status Byte Register which correspond to bits set in the Service Request Enable Register will cause the RQS/MSS bit to be set in the Status Byte Register, thus generating a Service Request on the bus.

Bit 7 -     Not used.
Bit 6 -     RQS/MSS. This bit, as defined by IEEE Std. 488.2, contains both the Requesting Service message and the Master Status Summary message. RQS is returned in response to a Serial Poll and MSS is returned in response to the *STB? command.
Bit 5 -     ESB. The Event Status Bit. This bit is set if any bits set in the Standard Event Status Register correspond to bits set in the Standard Event Status Enable Register.
Bit 4 -     MAV. The Message Available Bit. This will be set when the instrument has a response message formatted and ready to send to the controller. The bit will be cleared after the Response Message Terminator has been sent.
Bit 3 -     Not used.
Bit 2 -     Not used.
Bit 1 -     LIM2.  This will be set if any bits in Limit Event Status Register 2 are set and corresponding bits are set in Limit Event Status Enable Register 2.
Bit 0 -     LIM1.  This will be set if any bits in Limit Event Status Register 1 are set and corresponding bits are set in Limit Event Status Enable Register 1.
"
attribute: "ID Query Response"
	"Miscellaneous Attributes:ID Query Response"
	string readonly local 00118C31
"Returns the ID Query response string.  The instrument driver gets the value of this property when you pass TRUE for the ID Query parameter to the TQLP_init or TQLP_InitWithOptions function.
    "
